<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:74:"/data/wwwroot/default/tp5/public/../application/index/view/index/head.html";i:1539267882;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <link rel="stylesheet" href="/static/index/layui/css/layui.css">
    <link rel="stylesheet" href="/static/index/css/global.css">
    <link rel="stylesheet" href="/static/index/css/head.css">
    <script src="/static/index/js/jquery-3.2.1.min.js"></script>
    <script src="/static/admin/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/static/admin/js/xadmin.js"></script>
</head>
<body>
    <div class="header">
        <div class="main">
            <a class="title"  target="_parent" title="知之">
                <i class="iconfont icon-jiaoliu layui-hide-xs" style="" id="c1"></i>想不到就来问我吧
            </a>
            <div class="nav">
                <a href="/" class="nav-this" target="_top">
                    <i class="iconfont icon-wenda"></i>知之问答
                </a>
            </div>
            <div class="nav-user">
                <?php if(session('?user')): ?>
                <a class="avatar" href="center" target="_top">
                    <cite>个人中心</cite>
                </a>
                
                <div class="nav" style="" id="c2">
                    <a class="loginout" href="javascript:;">
                        <i class="iconfont icon-tuichu" style="" id="c3"></i>退出
                    </a>
                </div>
                <?php else: ?>
                <a   class="iconfont icon-touxiang layui-hide-xs" style="" id="c4"></a>
                <div class="nav"  style=" " id="c5"  />
                    <a href="Log/login"  target="_top" >登录</a>
                    <a href="Register/register" target="_top" >注册</a>
                </div>
                <?php endif; ?>
            </div>
        </div>
    </div>

    <script src="/static/index/js/login.js"></script>
</body>
</html>